package com.vitabuybuy.tv.ui.mine.talent.live

import android.os.Bundle
import com.vitabuybuy.tv.R
import com.vitabuybuy.tv.databinding.ActivityLiveReplayListBinding
import com.vitabuybuy.tv.databinding.ActivityLiveSalesStatisticsBinding
import com.vitabuybuy.tv.databinding.ActivityLiveStatisticsBinding
import com.library.common.base.BaseActivity
import com.vitabuybuy.tv.ui.mine.talent.live.viewmodel.LiveManageViewModel

class LiveSalesStatisticsActivity :
    BaseActivity<LiveManageViewModel, ActivityLiveSalesStatisticsBinding>() {

    override val isUseBaseTitleBar: Boolean
        get() = true
    override val layoutId: Int
        get() = R.layout.activity_live_sales_statistics

    override fun initView(savedInstanceState: Bundle?) {
        setTitle(getString(R.string.live_sales_statistics))
        mBinding?.mViewModel = viewModel
    }

    override fun observeData() {
        viewModel.getData()
    }
    companion object {
        fun openActivity(mContext: BaseActivity<*, *>) {
            mContext.startActivity(null, LiveSalesStatisticsActivity::class.java)
        }
    }
}
